package com.taiyi.renaissancemall.ui.mine.order.ask_every_one.answer;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.taiyi.renaissancemall.R;
import com.taiyi.renaissancemall.bean.AskEveryoneListBean;

import java.util.List;

public class AnswerListAdapter extends BaseQuickAdapter<AskEveryoneListBean.WelistBean.AnslistBean, BaseViewHolder> {
    public AnswerListAdapter(int layoutResId, @Nullable List<AskEveryoneListBean.WelistBean.AnslistBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, AskEveryoneListBean.WelistBean.AnslistBean item) {
        helper.setText(R.id.tv_answer, item.answercontent);
        helper.setText(R.id.tv_answer_date, item.createtime);
    }
}
